$OpenBSD: patch-Makefile_PL,v 1.1 2014/03/21 12:05:29 jasper Exp $

Fix with perl 5.18

--- Makefile.PL.orig	Fri Mar 21 13:02:28 2014
+++ Makefile.PL	Fri Mar 21 13:03:02 2014
@@ -2,15 +2,9 @@ use strict;
 use warnings;
 use inc::Module::Install;
 
-for my $gpg qw(gpg gpg2) {
-    my $gpg_find = "which $gpg";
-    print "$gpg_find ... ";
-    system($gpg_find);
-    if ( $? != 0 ) {
-        die "gpg (GnuPG) not found";
-    } else { last }
-}
-
+print "which gpg ... ";
+system("which", "gpg");
+die "gpg (GnuPG) not found" if ( $? != 0 );
 
 author 'Frank J. Tobin';
 abstract 'supply object methods for interacting with GnuPG';
